package com.scenic.common.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class OrderDetail implements Serializable {
    private Integer id;//主键
    private Integer count;//数量
    private BigDecimal price;//价格
    private String orderId;//订单id
    private Long scenicSpotId;//景区id
    private Integer ticketType;//门票类型
    //订单的一对一映射
    private Order order;
    //商品的一对一映射
    private ScenicSpot scenicSpot;
}
